package businessLogic.userManagement;

import data.ListInterIterator;
import data.user.User;

public class UserManageConnector {

	private UserManageController controller = new UserManageController();
	
	public ListInterIterator<User> search(int type,String key,String message){
		return controller.search(type, key, message);
	}
	
	public String addUser(int type,String id,String name,String store){
		return controller.addUser( type,id,name,store);
	}
	
	public String modifyUser(int type,String id,String name,String store){
		return controller.modifyUser( type,id,name,store);
	}
	
	public String delete(int type,String id){
		return controller.delete(type,id);
	}
}
